import {Buffer} from "buffer";
import {AxdrInteger} from "../asn1.axdr/AxdrInteger";


export class Unsigned16 extends AxdrInteger{

    constructor() {
        super();
    }

    set_const(){
        super.set_min_max_val(0 ,65535, 0);
    }

    set_dataCode(dataCode : Buffer){
        super.set_min_max_val(0, 65535, 0)
        super.set_dataCode(dataCode);
    }

    set_min_max_val(val : number){
        super.set_min_max_val(0 ,65535, val);
    }

}
